﻿using System.Windows;
using Rio.Framework.Localisation;

namespace Rio.Framework.Pages
{
    public partial class UCRioHomeMenu
    {
        public UCRioHomeMenu()
        {
            InitializeComponent();
            InitLabel();
        }

        public void InitLabel()
        {
            TextBlockSearch.Text = Resx.GetLabel(ResxComponent.Menu, ResxMenu.HOME);
        }

        private void buttonSearch_Click(object sender, RoutedEventArgs e)
        {
            Redirection.RioOffice();
        }
    }
}
